﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DropDownListOrganizations.ascx.cs"
    Inherits="SERP.Modules.Organizations.DropDownListOrganizations" %>
<%@ Register Src="OrganizationsTree.ascx" TagName="OrganizationsTree" TagPrefix="uc1" %>
<!--<asp:TextBox ID="txtCombo" runat="server" onfocus="this.blur();"></asp:TextBox>
<input type="hidden" name="hidVal" id="hidVal" runat="server" />
<div id='<%="dv"+this.ClientID%>' style="display: none; z-index: 10000; position: absolute;
    background-color: #f0f0f0; border: solid 1px #afafaf; overflow: auto; max-height: 400px;"
    tabindex="0" onblur="submitPostBack()" onclick="CheckItem(this)" onmouseout="changeMouseState(false);"
    onmouseover="changeMouseState(true);">
    <uc1:OrganizationsTree ID="OrganizationsTree1" AutoPostBack="False" runat="server" />
</div>-->
<asp:DropDownList ID="drd" runat="server" OnSelectedIndexChanged="drd_SelectedIndexChanged">
</asp:DropDownList>
<!--

<script type="text/javascript">
    showCombo = function (id, obj) {
        var objDiv = document.getElementById(id);
        objDiv.style.display = '';
        objDiv.style.top = (obj.offsetHeight + obj.offsetTop + 2) + "px";
        objDiv.style.left = (obj.offsetLeft - 2) + "px";
        objDiv.style.minWidth = obj.offsetWidth + "px";
        objDiv.focus();
        isFocusDiv = true;
    }
    var isFocusDiv = false;
    submitPostBack = function () {
        if (!isFocusDiv) {
            __doPostBack('<%=this.ClientID%>', "");
        }
    }
    changeMouseState = function (value) {
        isFocusDiv = value;
    }
</script>
-->